package temp.lho.lws.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import temp.lho.lws.mapper.ClaimMainInfoMapper;
import temp.lho.lws.mapper.ICaseReportInfoMapper;
import temp.lho.lws.pojo.ClaimMainInfo;
import temp.lho.lws.service.IClaimMainInfoService;
import temp.lho.lws.vo.Accident;

import java.util.List;

/**
 * (ClaimMainInfo)表服务实现类
 *
 * @author makejava
 * @since 2020-07-06 23:15:37
 */
@Service("claimMainInfoService")
public class ClaimMainInfoServiceImpl implements IClaimMainInfoService {

    @Autowired
    private ClaimMainInfoMapper claimMainInfoMapper;

    @Override
    public ClaimMainInfo queryById(Integer claimmainid) {
        return null;
    }

    @Override
    public List<ClaimMainInfo> queryAllByLimit(int offset, int limit) {
        return null;
    }

    @Override
    public ClaimMainInfo insert(ClaimMainInfo claimMainInfo) {
        return null;
    }

    @Override
    public ClaimMainInfo update(ClaimMainInfo claimMainInfo) {
        return null;
    }

    @Override
    public boolean deleteById(Integer claimmainid) {
        return false;
    }

    @Override
    public int insert(Accident accident) {
        return claimMainInfoMapper.insert(accident);
    }

    @Override
    public int CMupdate(Accident accident) {
        return claimMainInfoMapper.CMupdate(accident);
    }

    @Override
    public String selectById(Accident accident) {
        return claimMainInfoMapper.selectById(accident);
    }
}